﻿using CRM.Infrastructure.Dto;
using CRM.Infrastructure.Models;
using CRM.Infrastructure.Repository;
using Dapper.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CRM.Infrastructure.Service
{
    public class CallReportService
    {
        CallReportRepository repository = new CallReportRepository();

        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public Page<CallDto> GetPages(SearchCallModel model)
        {
            return repository.GetPages(model);
        }
    }
}